// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
  color: #97a8be;}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

.cell {
  .el-tag {
    margin-right: 0px;
  }
}

.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.fixed-width {
  .el-button--mini {
    padding: 7px 10px;
    width: 60px;
  }
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;

    .el-tag {
      margin-right: 0px;
    }
  }
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

// fix date-picker ui bug in filter-item
.el-range-editor.el-input__inner {
  display: inline-flex !important;
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

.el-menu--collapse
  > div
  > .el-submenu
  > .el-submenu__title
  .el-submenu__icon-arrow {
  display: none;
}
.el-menu-item {
  background: transparent !important;
}
.theme-dark ::v-deep .el-table .el-table__header-wrapper th,.theme-dark ::v-deep .el-table .el-table__fixed-header-wrapper th {
  word-break: break-word;
  background: transparent;//linear-gradient(180deg, #011D3D 0%, #013175 100%);;
  color: #F7F8FA;
  height: 40px;
  font-size: 13px;
}
.theme-dark ::v-deep .el-table th.el-table__cell.is-leaf, .theme-dark ::v-deep .el-table td.el-table__cell {
  border-bottom: 1px solid #143b6f;
}
.theme-dark ::v-deep .el-table .el-table__cell > .cell{
  text-align: center;
}
.theme-dark ::v-deep .el-table {
  position: relative;
  overflow: hidden;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  width: 100%;
  max-width: 100%;
  background: transparent;//linear-gradient(180deg, #011D3D 0%, #013175 100%);
  font-size: 14px;
  color: #F7F8FA;
}
.theme-dark ::v-deep .el-table::before {
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: #143b6f ;
}
.theme-dark ::v-deep .el-table::after {
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: #143b6f ;
}
.theme-dark ::v-deep .el-table__row:hover {
  background-color: #011230 !important;
}
.theme-dark ::v-deep  tr.hover-row {
  background-color: #011230 !important;
  //&, &.el-table__row--striped {
  //  &, &.current-row {
  //    > td.el-table__cell {
  //      background-color: transparent;
  //    }
  //  }
  //}
}

.theme-dark ::v-deep .el-table__body tr.hover-row.current-row>td,.el-table__body tr.hover-row.el-table__row--striped.current-row>td,
.el-table__body tr.hover-row.el-table__row--striped>td,.el-table__body tr.hover-row>td{background-color: rgba($color: #072448, $alpha: 0.8);}

.theme-dark ::v-deep .el-table--enable-row-hover .el-table__body tr:hover>td{background-color: rgba($color: #072448, $alpha: 0.8);}


.theme-dark ::v-deep .el-table tr {
  background-color: transparent;
}
.theme-dark ::v-deep .pagination-container{
  background: transparent;
}

//深色主题--form相关风格设置
.theme-dark .el-form-item__label{
  color: white;
}
.theme-dark .el-input__inner{
  background-color: transparent;
  color:white;
  border:1px solid #143b6f !important;
  border-radius: 5px !important;
}
.theme-dark ::v-deep .el-scrollbar__wrap{
  overflow: hidden;
}
.theme-dark ::v-deep ::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  /* background-color: skyblue; */
}
//button 深色主题配置
.theme-dark ::v-deep .el-button.is-plain{
  color: white;
  background: linear-gradient(90deg,#13426c,#0a3070);
  border-radius: 6px;
  border-color: #496d9f;
}
//dialog 深色主题配置
.theme-dark .el-dialog {
  -webkit-transform: none;
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
  background: linear-gradient(90deg, #011D3D 0%, #013175 100%);
  color: white;
}
.theme-dark .el-dialog__title{
  color: white;
}
.theme-dark .el-dialog__headerbtn .el-dialog__close {
  color: white;
}


/*定义滑块颜色、内阴影及圆角*/
/* ::-webkit-scrollbar-thumb {
    border-radius: 7px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: rgb(18, 33, 50);
  } */

/* 滚动条上的滚动滑块 */
::v-deep ::-webkit-scrollbar-thumb {
  background-color: rgba(108, 162, 204, 0.4);
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
  border-radius: 32px;
}

/* 滚动条轨道 */
::v-deep ::-webkit-scrollbar-track {
  /* background-color: #dbeffd; */
  border-radius: 32px;
}
